﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Anito.Data;
using Anito.Data.Mapping;

namespace Freetime.Base.Data.Entities
{
    public class AssemblyDependency : AuditableEntity
    {
        public AssemblyDependency()
            : base()
        { }

        public AssemblyDependency(ISession session)
            : base(session)
        { }

        private int _ID;

        [DataField(FieldName = "ID"
            , MemberName = "_ID"
            , Identity = true
            , PrimaryKey = true
            )]
        public int ID
        {
            get
            {
                return _ID;
            }
            set
            {
                SetField<int>("ID", ref _ID, value);
            }
        }

        private int _AssemblyID;

        [DataField(FieldName = "AssemblyID"
            , MemberName = "_AssemblyID"
            )]
        public int AssemblyID
        {
            get
            {
                return _AssemblyID;
            }
            set
            {
                SetField<int>("AssemblyID", ref _AssemblyID, value);
            }
        }

        private int _DependencyID;

        [DataField(FieldName = "DependencyID"
            , MemberName = "_DependencyID"
            )]
        public int DependencyID
        {
            get
            {
                return _DependencyID;
            }
            set
            {
                SetField<int>("DependencyID", ref _DependencyID, value);
            }
        }
    }
}
